package com.website.travle.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @description 景点表
 * @author 
 * @date 2023-05-21
 */
public class Spot implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 景点id
    */
    private Integer id;

    /**
    * 景点名称
    */
    private String name;

    /**
    * 景点简介
    */
    private String introduction;

    /**
    * 景点图片url
    */
    private String imageUrl;

    @Override
    public String toString() {
        return "Spot{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", introduction='" + introduction + '\'' +
                ", imageUrl='" + imageUrl + '\'' +
                ", createTime=" + createTime +
                '}';
    }

    /**
    * 创建时间
    */
    private String createTime;


    public Spot() {
    }

    public Spot(Integer id, String name, String introduction, String imageUrl, String createTime) {
        this.id = id;
        this.name = name;
        this.introduction = introduction;
        this.imageUrl = imageUrl;
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

}